Skip to content

T002: Port workflow engine to hook-runner#10

Open
grobomo wants to merge 2 commits into005-add-workflows-to-hookrunnerfrom
005-T002-port-engine
Open

T002: Port workflow engine to hook-runner#10
grobomo wants to merge 2 commits into005-add-workflows-to-hookrunnerfrom
005-T002-port-engine

Conversation

@grobomo
Copy link
Copy Markdown
Owner

@grobomo grobomo commented Apr 4, 2026

Summary

  • Created workflow.js in hook-runner — zero-dep YAML workflow engine
  • Ported from spec-hook's SHTD engine with generalized paths
  • Discovery: project → ~/.claude/hooks/workflows/ → built-in
  • Added resetState(), workflow name deduplication
  • State file renamed from .shtd-workflow-state.json to .workflow-state.json

Test plan

  • bash scripts/test/test-T002-hookrunner-engine.sh — 7/7 pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant